<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'updateAboutUs.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script type="text/javascript">
		window.onload = function()
		{
			var oFCKeditor = new FCKeditor( 'aboutBody','100%','600' ) ;
			oFCKeditor.BasePath = "fckeditor/" ;
			oFCKeditor.ToolbarSet="Basic";
			oFCKeditor.ReplaceTextarea() ;
		}
		
		function check(){
			if(document.form1.aboutTitle.value==""){
				alert("标题不能为空！");
				return false;
			}
			return true;
		}
	</script>
<LINK href="<%=basePath%>/css/main.css" type="text/css" rel="stylesheet">
</head>

<body>
<table border="0" width="90%" cellspacing="0" cellpadding="3"
	class="small">
	<tr>
		<td class="Big" width="270"><img
			src="<%=basePath%>/img/menu/histroy.gif" align="absmiddle"><span
			class="big3"> 修改关于我们</span><br>
		</td>

	</tr>
</table>
<form
	action="AboutUsServlet?action=update&aboutUSID=${aboutus.aboutUSID }"
	method="post" onsubmit="return check()">
<table class="TableBlock" width="800" align="center">
	<tr>
		<td width="50" class="TableData" align="center">标 题：</td>
		<td class="TableData2" align="left"><input type="text"
			name="aboutTitle" value="${aboutus.aboutTitle }" size="50"
			class="BigInput" /></td>
	</tr>
	<tr>
		<td class="TableData" align="center">内 容：</td>
		<td><textarea id="aboutBody" name="aboutBody">
${aboutus.aboutBody }
</textarea></td>
	</tr>
	<tr>
		<td colspan="2" class="TableData" align="center"><input
			type="submit" value="保存修改" class='BigButton'><input
			type="button" class='BigButton' value="返回"
			onclick="javascript:history.go(-1);" /></td>
	</tr>
</table>
</form>
</body>
</html>

